<template>
  <div>
    <button @click="del">删除</button>
  </div>
</template>
<script>
export default {
  data() {
    return {};
  },
  methods: {
    del() {
      this.$alert({
        title: "删除",
        content: "确定要删除吗？",
      });
    },
  },
};
</script>
<style scoped>
</style>